var mongoose = require('mongoose')

var schema = require('../config/schema')
var userSchema = mongoose.Schema(schema.user)

// vacationSchema.methods.getDisplayPrice = function(){

//     return '$' + (this.priceInCents/100).toFixed(2);
// }

var userModel = mongoose.model('user', userSchema)

module.exports = userModel;
